package com.zk.spring5.test;

import com.zk.spring5.service.AccountService;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

import java.util.AbstractQueue;

/**
 * @author ZK
 * @Description
 * @time 2021/5/9 16:01
 * @note
 */
//@ExtendWith(SpringExtension.class)
//@ContextConfiguration("classpath:JDBC.xml")
@SpringJUnitConfig(locations = "classpath:JDBC.xml" )
public class JTest5 {
    @Autowired
    private AccountService accountService;

    @Test
    public void test(){
        accountService.transfers(1,2,1000);
    }
}
